/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generadorva;

/**
 *
 * @author USUARIO
 */
public class TiempoEntrega {


    public static int generar(double u){
        int x= 5;
        double p = x/45.0;
        double Fx = p;
        while (u > Fx) {
            x++;
            p = x/45.0;
            Fx+=p;
        }
        return x;
    }

}
